package routes

import (

	"main/src/controllers"
	"main/src/middlewares"
	"github.com/gofiber/fiber/v2"
)

func Git(app *fiber.App) fiber.Router {
	gRS := app.Group("/git", middlewares.AllRequests, middlewares.GitMiddleware())
	gRS.Post("/update/:repo", controllers.GitUpdate)

	return gRS
}
